package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 车辆轮胎档案表
 * </p>
 *
 * @author LX
 * @since 2018-09-27
 */
@TableName("erp_car_tire_archives")
public class ErpCarTireArchives extends Model<ErpCarTireArchives> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 车辆ID
     */
    @TableField("car_id")
    private Integer carId;
    /**
     * 胎位
     */
    @TableField("tire_location")
    private String tireLocation;
    /**
     * 轮胎ID
     */
    @TableField("tire_id")
    private Integer tireId;
    /**
     * 轮胎 购置日期
     */
    @TableField("tire_purchase_date")
    private String tirePurchaseDate;
    /**
     * 轮胎 购置价格
     */
    @TableField("tire_purchase_price")
    private Double tirePurchasePrice;
    /**
     * 轮胎 维修维护
     */
    @TableField("tire_maintenance")
    private Double tireMaintenance;
    /**
     * 轮胎 元/百公里
     */
    @TableField("tire_average")
    private Double tireAverage;
    /**
     * 传感器购置价格
     */
    @TableField("sensors_purchase_price")
    private Double sensorsPurchasePrice;
    /**
     * 购置轮胎里程表数
     */
    @TableField("tire_purchase_mileage")
    private Double tirePurchaseMileage;
    /**
     * 传感器id
     */
    @TableField("sensors_id")
    private Integer sensorsId;
    /**
     * 定位器id
     */
    @TableField("positioner_id")
    private Integer positionerId;
    @TableField("rim_id")
    private Integer rimId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public String getTireLocation() {
        return tireLocation;
    }

    public void setTireLocation(String tireLocation) {
        this.tireLocation = tireLocation;
    }

    public Integer getTireId() {
        return tireId;
    }

    public void setTireId(Integer tireId) {
        this.tireId = tireId;
    }

    public String getTirePurchaseDate() {
        return tirePurchaseDate;
    }

    public void setTirePurchaseDate(String tirePurchaseDate) {
        this.tirePurchaseDate = tirePurchaseDate;
    }

    public Double getTirePurchasePrice() {
        return tirePurchasePrice;
    }

    public void setTirePurchasePrice(Double tirePurchasePrice) {
        this.tirePurchasePrice = tirePurchasePrice;
    }

    public Double getTireMaintenance() {
        return tireMaintenance;
    }

    public void setTireMaintenance(Double tireMaintenance) {
        this.tireMaintenance = tireMaintenance;
    }

    public Double getTireAverage() {
        return tireAverage;
    }

    public void setTireAverage(Double tireAverage) {
        this.tireAverage = tireAverage;
    }

    public Double getSensorsPurchasePrice() {
        return sensorsPurchasePrice;
    }

    public void setSensorsPurchasePrice(Double sensorsPurchasePrice) {
        this.sensorsPurchasePrice = sensorsPurchasePrice;
    }

    public Double getTirePurchaseMileage() {
        return tirePurchaseMileage;
    }

    public void setTirePurchaseMileage(Double tirePurchaseMileage) {
        this.tirePurchaseMileage = tirePurchaseMileage;
    }

    public Integer getSensorsId() {
        return sensorsId;
    }

    public void setSensorsId(Integer sensorsId) {
        this.sensorsId = sensorsId;
    }

    public Integer getPositionerId() {
        return positionerId;
    }

    public void setPositionerId(Integer positionerId) {
        this.positionerId = positionerId;
    }

    public Integer getRimId() {
        return rimId;
    }

    public void setRimId(Integer rimId) {
        this.rimId = rimId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpCarTireArchives{" +
        ", id=" + id +
        ", carId=" + carId +
        ", tireLocation=" + tireLocation +
        ", tireId=" + tireId +
        ", tirePurchaseDate=" + tirePurchaseDate +
        ", tirePurchasePrice=" + tirePurchasePrice +
        ", tireMaintenance=" + tireMaintenance +
        ", tireAverage=" + tireAverage +
        ", sensorsPurchasePrice=" + sensorsPurchasePrice +
        ", tirePurchaseMileage=" + tirePurchaseMileage +
        ", sensorsId=" + sensorsId +
        ", positionerId=" + positionerId +
        ", rimId=" + rimId +
        "}";
    }
}
